package tetris.features;

import java.util.ArrayList;
import java.util.Collections;

import tetris.simulator.State;

public class MaxColHeightFeature extends Feature{
  
  public ArrayList<Double> getFeatureVector(State tetrisState) {
    ArrayList<Double> featureVector = new ArrayList<Double>();
    ColHeightFeature heightFeature = new ColHeightFeature();
    featureVector.add(Collections.max(heightFeature.getFeatureVector(tetrisState)));
    return featureVector;
  }
}
